package com.yindian.cos.easy.security.authentication.login.normal;

import com.yindian.cos.easy.security.authentication.login.UserDetail;

import javax.servlet.http.HttpServletRequest;

/**
 * 获取用户信息顶级接口
 *
 * @author zhangchuanhao
 * @create 2018/11/21
 */
public interface UserService {

    /**
     * 获取用户信息
     *
     * @param request
     * @return
     */
    UserDetail getUserDetail(HttpServletRequest request);

}
